<?php $__env->startSection('content'); ?>
    <main class="lyear-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-header"><h4>API接口测试</h4></div>
                        <div class="card-body">
                            <div class="card-toolbar clearfix">
                                <form class="pull-left search-bar" method="get" action="#!" role="form" style="width: 90%;max-width: none;">
                                    <div class="input-group">
                                        <div class="input-group-btn">
                                            <input type="hidden" name="search_field" id="search-field" value="title">
                                            <button class="btn btn-default dropdown-toggle" id="search-btn" data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
                                                POST <span class="caret"></span>
                                            </button>
                                            <ul class="dropdown-menu">
                                                <li> <a tabindex="-1" href="javascript:void(0)" data-field="post">POST</a> </li>
                                                <li> <a tabindex="-1" href="javascript:void(0)" data-field="get">GET</a> </li>
                                            </ul>
                                        </div>
                                        <input type="text" class="form-control" value="" name="api_url" placeholder="请输入API地址">
                                    </div>
                                </form>
                                <div class="toolbar-btn-action">
                                    <a class="btn btn-primary m-r-5" href="#!"><i class="mdi mdi-plus"></i> 发送</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
    <script type="text/javascript">
        $(function(){
            $('.search-bar .dropdown-menu a').click(function() {
                var field = $(this).data('field') || '';
                $('#search-field').val(field);
                $('#search-btn').html($(this).text() + ' <span class="caret"></span>');
            });
        });
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('index.public.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\myproject\api_interface\resources\views/index/index.blade.php ENDPATH**/ ?>